package com.manolovn.trianglify.util;

/**
 * Math utils
 *
 */
public class MathUtils {
    /**
     * checks the same sign of two double values
     *
     * @param a the first double value
     * @param b the second double value
     *
     * @return type specific object
     */
    public static boolean hasSameSign(double a, double b) {
        return Math.signum(a) == Math.signum(b);
    }
}
